Skip to content

feat(coding-agent): retain lessons and evolved skills longer - #282

Merged
Pepps233 merged 2 commits into
mainfrom
feat/evolution-retention-thresholds
Oct 26, 2026
Merged

Pepps233 merged 2 commits into
mainfrom
feat/evolution-retention-thresholds

Conversation

@Pepps233

Copy link
Copy Markdown
Contributor

Summary

Retain lessons and evolved skills through more negative feedback before automatic grooming removes them.

Reasoning

Use the requested inclusive removal thresholds: lessons at ≤ -7 and evolved skills at ≤ -11. Capacity caps, scoring weights, and grooming timing remain unchanged.

Changes

  • Update shared lesson and evolved-skill policy defaults.
  • Update documentation and default-policy assertions.
  • Cover survival just above each threshold and removal at/below it; adapt the faux-provider grooming regression to seven omissions.
  • No dependency or architecture changes.

Testing

  • npm run check: exit 0 on final tree, no diagnostics.
  • From packages/evolution: node ../../node_modules/vitest/dist/cli.js --run test/lesson-grooming.test.ts test/lesson-score-store.test.ts test/skill-grooming.test.ts test/skill-score-store.test.ts: exit 0, 92 tests passed.
  • From packages/coding-agent: node ../../node_modules/vitest/dist/cli.js --run test/suite/regressions/4-lesson-grooming.test.ts: exit 0, 6 tests passed.
  • ./test.sh: exit 1 on unrelated scripts/dependency-security.test.mjs MCP oversized-completion assertion (expected 1 validation issue, received 10001); runner stopped before workspace tests.

@Pepps233
Pepps233 merged commit 7b6e0bc into main Oct 26, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant